<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <input type="text" id="search-input" placeholder="搜索商品">
    <script src="1.js"></script>
    <script>
        const input = document.getElementById('search-input');
        input.addEventListener('input', function(e) {
            const keyword = e.target.value;
            searchManager(keyword);
        });
    </script>
</body>

</html>